#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;
int main()
{
	int i = 1, sum = 0;
	while (i <= 100)
	{
		sum = sum + i;
		i++;
	}
	cout << "sum=" <<sum<< endl;
	return 0;
}